package com.frank.oj.service.entity.training.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.frank.model.entity.training.TrainingRecord;
import com.frank.oj.mapper.TrainingRecordMapper;
import com.frank.oj.model.vo.TrainingRecordVO;
import com.frank.oj.service.entity.training.TrainingRecordEntityService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author frank
 * @Date 2024/4/8
 */
@Service
public class TrainingRecordEntityServiceImpl extends ServiceImpl<TrainingRecordMapper, TrainingRecord> implements TrainingRecordEntityService {
    @Resource
    private TrainingRecordMapper trainingRecordMapper;
    @Override
    public List<TrainingRecordVO> getTrainingRecord(Long tid) {
        return trainingRecordMapper.getTrainingRecord(tid);
    }
}
